from setuptools import setup

setup(
    name = "entrypoint_demo",
    version = "0.1.0",
    description = 'a demo for entrypoint',
    license="BSD License",
    entry_points={
        'demo.plugins': [
            # 前面的名字随意，但后面的格式必须是 module_name:function_name
            'any_name_is_ok = entrypoint_demo:demo',
            'another_name = entrypoint_demo.sub:anotherdemo',
        ],
    },
)